const { BaseAction , RequestParser , RequestAuth } = require("breeze-web") 
const SenecaAction = new BaseAction("seneca")

SenecaAction.get({
    path : "/send"
} , async ctx => {

    const service = ctx.Kit.seneca 

    const value = await service.act("Test:ok" , { a : 1})
    
    ctx.body = value 

})

module.exports = SenecaAction